package com.itstudio.portal.mapper;

import com.itstudio.portal.entity.dto.UserQueryDto;
import com.itstudio.portal.entity.vo.UserDetailInfo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2024/11/23
 */
@Mapper
public interface UserDetailMapper {

    List<UserDetailInfo> selectUserInfoByCondition(@Param("offset") int offset,
                                                   @Param("pageSize") int pageSize,
                                                   @Param("userQueryDto") UserQueryDto userQueryDto);

    public Integer countUserByRole(@Param("userQueryDto") UserQueryDto userQueryDto);
}
